Optimal Algorithms for Stabbing Polygons by Monotone Chains
ثبت نشده
چکیده
In this paper we present optimal algorithms to compute monotone stabbers for convex polygons. More precisely, given a set of m convex polygons with n vertices in total we want to stab the polygons with an x-monotone polygonal chain such that each polygon is entered at its leftmost point and departed at its rightmost point. Since such a stabber does not exist in general, we study two related problems. In the rst problem we want to compute a monotone stabber that stabs as many convex polygons as possible. The second problem is to compute the minimal number of x-monotone stabbers that are necessary to stab all given convex polygons. We present optimal O(m log m + n) algorithms for both problems.
منابع مشابه
Rotationally Monotone Polygons
We introduce a generalization of monotonicity. An n-vertex polygon P is rotationally monotone with respect to a point r if there exists a partitioning of the boundary of P into exactly two polygonal chains, such that one chain can be rotated clockwise around r and the other chain can be rotated counterclockwise around r with neither chain intersecting the interior of the polygon. We present the...
متن کاملMoldable and Castable Polygons
This paper introduces the concepts of Moldability and Castability of simple polygons and relates Moldability to Monotonicity. We detail a (n) algorithm for determining all n forward maximal monotone chains of a simple polygon and apply this algorithm to the problems of determining 2-Moldability, 2-Castability and the minimum monotone decomposition of a simple polygon 9]. Our results include a s...
متن کاملOptimal guarding of polygons and monotone chains
In this paper we study several problems concerning the guarding of a polygon or a x-monotone polygonal chain P with n vertices from a set of points lying on it. Our results are: (1) An O(n logn) time sequential algorithm for computing the shortest guarding boundary chain of a polygon P. (2) An O(n logn) time sequential algorithm for computing the smallest set of consecutive edges guarding a pol...
متن کاملTesting a Simple Polygon for Monotonicity Optimality in Parallel
Sumanta Guhat We show that, in parallel, an n-vertex simple polygon can be tested for monotonicity optimally in O(logn) time using O(n/logn) EREW PRAM processors, and we present two different optimal parallel algorithms for solving this problem. OUf result leads to an optimal parallcl algorithm for triangulating simple polygons that runs in O(logn) time using O(n/logn) EREW PRA!\I processors if...
متن کاملStraight Skeletons of Monotone Polygons
We study the characteristics of straight skeletons of strictly monotone polygonal chains, and use them to devise an algorithm for computing positively weighted straight skeletons of strictly monotone polygons. Our algorithm runs in O(n log n) time and O(n) space.
متن کامل